{% extends "base.html" %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">重置密码 - {{ user.username }}</div>
            <div class="card-body">
                <form method="POST" action="{{ url_for('reset_password_page', user_id=user.id) }}">
                    <div class="mb-3">
                        <label for="password" class="form-label">新密码</label>
                        <input type="password" class="form-control" id="password" name="password" required>
                    </div>
                    <button type="submit" class="btn btn-primary">重置</button>
                </form>
            </div>
        </div>
    </div>
</div>
{% endblock %}